import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import Vant, { PullRefresh } from 'vant';
import 'vant/lib/index.css';
import { Lazyload } from 'vant';
import { Button } from 'vant';
import { Cell, CellGroup } from 'vant';
import { Toast } from 'vant';
import { Card } from 'vant';
import { Search } from 'vant';
import preview from 'vue-photo-preview'
import 'vue-photo-preview/dist/skin.css'
import waterfall from 'vue-waterfall2';
import { Collapse, CollapseItem } from 'vant';
import { Dialog } from 'vant';
import { ActionSheet } from 'vant';

Vue.use(ActionSheet);
Vue.use(Dialog);
Vue.use(Collapse).use(CollapseItem);
Vue.use(waterfall);
Vue.use(preview)
Vue.use(Search);
Vue.use(Card);
Vue.use(Toast);
Vue.use(Cell);
Vue.use(CellGroup);
Vue.use(Button);
Vue.use(Lazyload); 
Vue.use(Vant);
Vue.use(PullRefresh);


Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')